﻿<!--Breadcrumb Start-->
<div class="breadcrumb-container">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="breadcrumbs">
                    <ul>
                        <li class="home"><a href="{:url('index/index')}">Home</a><span>/ </span></li>
                        <li><strong>Order List</strong></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<!--End of Breadcrumb-->
<!--Cart Main Area Start-->
<div class="cart-main-area area-padding">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="page-title">
                    <h1>Order List</h1>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12">
                <form action="#">
                    {if $orderList}
                    <p class="page floatright">Order Total: {$orderList->total()}</p>
                    <div class="cart-table table-responsive">
                        <table>
                            <thead>
                            <tr>
                                <th class="p-sn">Order SN</th>
                                <th class="p-total">Name</th>
                                <th class="p-total">Phone</th>
                                <th class="p-total">SubTotal</th>
                                <th class="p-time">Create Time</th>
                                <th class="p-status">Status</th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="orderList" id="data"}
                            <tr>
                                <td class="p-sn"><a href="#">{$data.order_sn}</a></td>
                                <td class="p-total">{$data.ship_name}</td>
                                <td class="p-total">{$data.ship_mobile}</td>
                                <td class="p-total">{$data.order_amount}</td>
                                <td class="p-time">{$data.createtime|datetime}</td>
                                <td class="p-status paymentOn" data-amount="{$data.order_amount}" data-sn="{$data.order_sn}">Wait Payment Confirm</td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>
                        {$page}
                    </div>
                    {else}
                    <span style="font-size: 28px; margin-top: 10px; display: block;">
                      NO Order
                     </span>
                    {/if}
                </form>
            </div>
        </div>
    </div>
</div>
<div id="paymentShow" style="display: none;">
    <div id="payment-pop-up">
        <span class="hide-popup" style="color: red">Close</span>
        <div class="subscribe-pop-up">
            <div class="content-subscribe" style="text-align: center;">
                <h1>Please transfer to the following bank:</h1>
                <div class="input-box">
                    Total: Rs.<span id="paymentAmount"></span>
                </div>
                <div class="input-box">
                    Bank : ICICI BANK LTD
                </div>
                <div class="input-box">
                    Branch : MADINA GINDHRAN
                </div>
                <div class="input-box">
                    Bank : ICICI BANK LTD
                </div>
                <div class="input-box">
                    Account Name : Liarori Private Limited
                </div>
                <div class="input-box">
                    Account Number : 366405000164
                </div>
                <div class="input-box">
                    IFSC Code : ICIC0003664
                </div>
                <div style="font-size: 20px;color: #bb0909;">Note References: Please enter Order ID to comments when you make the payment</div>
            </div>
        </div>
    </div>
</div>

<style>
    .pagination {
        display: inline-block;
        padding-left: 0;
        margin: 17px 0;
        border-radius: 3px;
    }
    .pagination > li {
        display: inline;
    }
    .pagination > li > a,
    .pagination > li > span {
        position: relative;
        float: left;
        padding: 6px 12px;
        line-height: 1.42857143;
        text-decoration: none;
        color: #2c3e50;
        background-color: #fff;
        border: 1px solid #ddd;
        margin-left: -1px;
    }
    .pagination > li:first-child > a,
    .pagination > li:first-child > span {
        margin-left: 0;
        border-bottom-left-radius: 3px;
        border-top-left-radius: 3px;
    }
    .pagination > li:last-child > a,
    .pagination > li:last-child > span {
        border-bottom-right-radius: 3px;
        border-top-right-radius: 3px;
    }
    .pagination > li > a:hover,
    .pagination > li > span:hover,
    .pagination > li > a:focus,
    .pagination > li > span:focus {
        z-index: 2;
        color: #11181f;
        background-color: #eeeeee;
        border-color: #ddd;
    }
    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 3;
        color: #fff;
        background-color: #2c3e50;
        border-color: #2c3e50;
        cursor: default;
    }
    .pagination > .disabled > span,
    .pagination > .disabled > span:hover,
    .pagination > .disabled > span:focus,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #777777;
        background-color: #fff;
        border-color: #ddd;
        cursor: not-allowed;
    }
    .pagination-lg > li > a,
    .pagination-lg > li > span {
        padding: 10px 16px;
        font-size: 15px;
        line-height: 1.3333333;
    }
    .pagination-lg > li:first-child > a,
    .pagination-lg > li:first-child > span {
        border-bottom-left-radius: 5px;
        border-top-left-radius: 5px;
    }
    .pagination-lg > li:last-child > a,
    .pagination-lg > li:last-child > span {
        border-bottom-right-radius: 5px;
        border-top-right-radius: 5px;
    }
    .pagination-sm > li > a,
    .pagination-sm > li > span {
        padding: 5px 10px;
        font-size: 11px;
        line-height: 1.5;
    }
    .pagination-sm > li:first-child > a,
    .pagination-sm > li:first-child > span {
        border-bottom-left-radius: 2px;
        border-top-left-radius: 2px;
    }
    .pagination-sm > li:last-child > a,
    .pagination-sm > li:last-child > span {
        border-bottom-right-radius: 2px;
        border-top-right-radius: 2px;
    }
    .pager {
        padding-left: 0;
        margin: 17px 0;
        list-style: none;
        text-align: center;
    }
    .pager li {
        display: inline;
    }
    .pager li > a,
    .pager li > span {
        display: inline-block;
        padding: 5px 14px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 15px;
    }
    .pager li > a:hover,
    .pager li > a:focus {
        text-decoration: none;
        background-color: #eeeeee;
    }
    .pager .next > a,
    .pager .next > span {
        float: right;
    }
    .pager .previous > a,
    .pager .previous > span {
        float: left;
    }
    .pager .disabled > a,
    .pager .disabled > a:hover,
    .pager .disabled > a:focus,
    .pager .disabled > span {
        color: #777777;
        background-color: #fff;
        cursor: not-allowed;
    }

    #newsletter-form .input-box, #newsletter-form .content-subscribe .actions {
        float: none;
    }
    #payment-pop-up {
        background: #fff;
        color: #999999;
        height: 400px;
        left: 50%;
        min-width: 450px;
        padding: 35px;
        position: absolute;
        text-align: left;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        width: 600px;
    }
    #payment-pop-up {
        background-color: #f1f1f1;
        z-index: 999;
        width: 300px;
    }
    #payment-pop-up .input-box {
        font-size: 16px;
        color: #111;
        text-align: left;
        margin: 10px;
    }
    #payment-pop-up h1 {
        color: #111;
    }
    input{border:1px solid #ccc;padding:7px 0px;border-radius:3px;padding-left:5px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}input:focus{border-color:#66afe9;outline:0; -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}

</style>